/* vue */
import { defineComponent } from "vue";
/* mixin */
import VersionControlBaseMixin from '@src/mixins/versionControlMixin/base';
/* version setting */
import { isShowWxSet } from '@shb-lib/version'

export default defineComponent({
  name: "version-control-setting-mixin",
  mixins: [VersionControlBaseMixin],
  computed: {
    /** 
     * @description 设置 模块 版本控制
    */
    settingVersionControl(): Record<string, boolean> {
      return {
        isShowWxSet: isShowWxSet(this._versionControlMap),
      }
    },
    _isShowWxSet(): boolean {
      return this.settingVersionControl.isShowWxSet
    },
  }
})
